package com.powernode.constant;

import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: mky
 * @date: 2024/7/4 14:13
 * @version: 1.0
 */
@Component
public class AuthConstants {

    public static final String AUTHORIZATION = "Authorization";
    public static final String CONTENT_TYPE = "Content-Type";
    public static final String UTF_8 = "utf-8";
    public static final String APPLICATION_JSON = "application/json,charset=UTF-8";

    public static final String TOKEN_PREFIX = "bearer ";
    public static final String SYSUSERLOGIN = "sysUserLogin";
    public static final String MEMBERLOGIN = "memberLogin";
    public static final String DOLOGIN = "/doLogin";
    public static final String DOLOGOUT = "/doLogout";
    public static final Long TOKEN_EXPIRES_SECOND = 3600L;
    public static final Long TOKEN_EXPIRE_THRESHOLD_TIME = 1800L;

}
